From 57751fa391fce8b9f208c41260e8968dd4cdc800 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 18 Oct 2014 12:40:18 -0400 Subject: [PATCH] Work around a pkg-config bug It doesn't report -I${prefix}/include in cflags, even if .pc files explicitly put it there. This was breaking the build outside of a jhbuild shell when libepoxy is in the jhbuild tree but not in /usr. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 62c301feae..3ca894275c 100644 --- a/configure.ac +++ b/configure.ac @@ -350,7 +350,8 @@ backend_immodules= have_gio_unix=no GDK_BACKENDS= GDK_EXTRA_LIBS= -GDK_EXTRA_CFLAGS= +# expoxy.pc has Cflags: -I${includedir}, but pkg-config swallows that :-( +GDK_EXTRA_CFLAGS="-I${prefix}/include" GDK_WINDOWING= PANGO_PACKAGES="pango pangocairo" -- 2.30.2